import request from '/@/utils/request'

// 管理员列表
export const adminLists = (params?: any) => request.get('/auth/admin/lists', params);

// 管理员列表全部
export const adminAll = (params?: any) => request.get('/auth/admin/all', params);

// 管理员添加
export const adminAdd = (params?: any) => request.post('/auth/admin/add', params);

// 管理员编辑
export const adminEdit = (params?: any) => request.post('/auth/admin/edit', params);

// 管理员删除
export const adminDelete = (params?: any) => request.delete('/auth/admin/delete', params);

// 管理员详情
export const adminDetail = (params?: any) => request.get('/auth/admin/detail', params);